BCM270X_DT: Allow multiple instances of w1-gpio overlays
authorPhil Elwell <phil@raspberrypi.org>
Tue, 28 Mar 2017 13:22:20 +0000 (14:22 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:53:18 +0000 (15:53 +0100)
commit1ff5910b6644c06da02e5a30313267f676a37ee5
tree803699bb65d25efee7413b64fa7de3cd416601e6
parent8b8fae4de54d987e1a2c28ad42a6f10c4da5bc5d
BCM270X_DT: Allow multiple instances of w1-gpio overlays

Upcoming firmware will modify the address portion of node names when
their "reg" property is written by a dtparam. Modify the w1-gpio
overlays to write the gpiopin parameter value to "reg" properties, so
that multiple instances can be loaded simultaneously.

Note: The value of the "address" is unimportant - the w1 subsystem
assigns instance numbers to buses sequentially from 1, and it is
not necessary to know which bus a device is on in order to find it.
arch/arm/boot/dts/overlays/w1-gpio-overlay.dts
arch/arm/boot/dts/overlays/w1-gpio-pullup-overlay.dts